package org.qydjk.common.pojo.company;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 企业产品单项
 *Created by Edward_yang on 2018/01/05
 */
@Entity
@Table(name = "qy_company_product_single_project", catalog = "qydjk")

public class CompanyProductSingleProject implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer companyProductId;
	private Integer singleProjectCategoryId;
	private Integer singleProjectId;
	private Date createTime;
	private Date updateTime;


	// Constructors

	/** default constructor */
	public CompanyProductSingleProject() {
	}

	/** full constructor */
	public CompanyProductSingleProject(Integer companyProductId, Integer singleProjectCategoryId,
			Integer singleProjectId, Timestamp createTime, Timestamp updateTime) {
		this.companyProductId = companyProductId;
		this.singleProjectCategoryId = singleProjectCategoryId;
		this.singleProjectId = singleProjectId;
		this.createTime = createTime;
		this.updateTime = updateTime;

	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "id", unique = true, nullable = false)

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "company_product_id")

	public Integer getCompanyProductId() {
		return this.companyProductId;
	}

	public void setCompanyProductId(Integer companyProductId) {
		this.companyProductId = companyProductId;
	}

	@Column(name = "single_project_category_id")

	public Integer getSingleProjectCategoryId() {
		return this.singleProjectCategoryId;
	}

	public void setSingleProjectCategoryId(Integer singleProjectCategoryId) {
		this.singleProjectCategoryId = singleProjectCategoryId;
	}

	@Column(name = "single_project_id")

	public Integer getSingleProjectId() {
		return this.singleProjectId;
	}

	public void setSingleProjectId(Integer singleProjectId) {
		this.singleProjectId = singleProjectId;
	}

	@Column(name = "create_time", length = 19)

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "update_time", length = 19)

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}



}